package net.xo68.destiny.manager.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import net.xo68.destiny.contract.domain.user.ISystemUser;

import java.util.Date;



/** 
 * SystemUser 实体
 * @author wuxie(16349023@qq.com)
 * @date 2020年11月07日 16:43:18
 *
 */
@ApiModel("SystemUser 实体")
public class SystemUser implements java.io.Serializable, ISystemUser {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 用户编号
	 */
	@ApiModelProperty("用户编号")
	private Long id;
	/**
	 * 账号
	 */
	@ApiModelProperty("账号")
	private String account;
	/**
	 * 密码
	 */
	@ApiModelProperty("密码")
	private String password;
	/**
	 * 昵称
	 */
	@ApiModelProperty("昵称")
	private String nice;
	/**
	 * 性别，1-男，0-女
	 */
	@ApiModelProperty("性别，1-男，0-女")
	private Integer sex;
	/**
	 * 角色
	 */
	@ApiModelProperty("角色")
	private String roles;

	/**
	 * 用户状态，0-锁定，1-启用，2-删除
	 */
	@ApiModelProperty("用户状态，0-锁定，1-启用，2-删除")
	private Integer userState;
	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;
	/**
	 * 更新时间
	 */
	@ApiModelProperty("更新时间")
	private Date upateTime;
	/**
	 * 操作账号
	 */
	@ApiModelProperty("操作账号")
	private String operator;
	
	@Override
	public String toString(){
		return "id:"+this.id+","+"account:"+this.account+","+"password:"+this.password+","+"nice:"+this.nice+","+"sex:"+this.sex+","+"userState:"+this.userState+","+"createTime:"+this.createTime+","+"upateTime:"+this.upateTime+","+"operator:"+this.operator;
	}
	

	public Long getId() {
		return this.id;
	}
	public void setId(Long value) {
		this.id = value;
	}	

	public String getAccount() {
		return this.account;
	}
	public void setAccount(String value) {
		this.account = value;
	}	

	public String getPassword() {
		return this.password;
	}
	public void setPassword(String value) {
		this.password = value;
	}	

	public String getNice() {
		return this.nice;
	}
	public void setNice(String value) {
		this.nice = value;
	}	

	public Integer getSex() {
		return this.sex;
	}
	public void setSex(Integer value) {
		this.sex = value;
	}	

	public Integer getUserState() {
		return this.userState;
	}
	public void setUserState(Integer value) {
		this.userState = value;
	}

	@Override
	public String getRoles() {
		return roles;
	}

	public void setRoles(String roles) {
		this.roles = roles;
	}

	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date value) {
		this.createTime = value;
	}	

	public Date getUpateTime() {
		return this.upateTime;
	}
	public void setUpateTime(Date value) {
		this.upateTime = value;
	}	

	public String getOperator() {
		return this.operator;
	}
	public void setOperator(String value) {
		this.operator = value;
	}	
}